package com.gym.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gym.dao.CourseSortMapper;
import com.gym.pojo.CourseSort;
import com.gym.service.CourseSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class CourseSortServiceImpl extends ServiceImpl<CourseSortMapper,CourseSort> implements CourseSortService {

    @Autowired(required = false)
    CourseSortMapper courseSortMapper;

    @Override
    public CourseSort queryBycoursesortName(String coursesortName) {
        return courseSortMapper.queryBycoursesortName(coursesortName);
    }

}
